<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_BOM操作</title>
</head>
<body>
    <button onclick="alert('弹出警告框')">弹出警告框</button>
    <button onclick="confirm('确认删除张三吗')">弹出确认框</button>
    <button onclick="prompt('弹出输入框')">弹出输入框</button>


    <script>
      console.log(parseInt(1.1));
      console.log(parseInt('hhh'));
      console.log(parseInt('12hhh'));

      console.log(parseFloat(1));
      console.log(parseFloat(1.1));
      console.log(parseFloat('hh'));
      console.log(parseFloat('1hh'));

      console.log(isNaN('q'));
      console.log(isNaN(1));

    </script>
</body>
</html>